﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{
    [XmlRoot("MESSAGE")]
    public class GetInventoryZoneDataMessage : BaseTibcoMessage<GetInventoryZoneDataMessageBody>
    {
        public GetInventoryZoneDataMessage()
        {
        }

        public GetInventoryZoneDataMessage(string messageName, GetInventoryZoneDataMessageBody body = null, string inboxName = "", string listener = "") : base(messageName, body, inboxName, listener)
        {
        }

        public void SetReplyName()
        {
            this.HEADER.MESSAGENAME = "GetInventoryZoneDataReply";
        }
    }

    public class GetInventoryZoneDataMessageBody : InventoryZoneDataReportMessageBody
    {
        public GetInventoryZoneDataMessageBody()
        {
        }

        public GetInventoryZoneDataMessageBody(string machineName, List<Zone> zones) : base(machineName, zones)
        {
        }
    }
}
